package com.ck.ck_back.pojo;

import java.util.List;

public class Production {
    private Integer productionId;

    private String productionTitle;

    private String logoUrl;

    private Integer contentId;

    private Integer type;

    private String authorId;

    private Long likeCount;

    private Long updateTime;

    private Integer state;

//    每个作品对应一个作者
    private User_comment user;

    private List<User_coller> user_collers;

    private List<Collect> collects;

    public List<User_coller> getUser_collers() {
        return user_collers;
    }

    public void setUser_collers(List<User_coller> user_collers) {
        this.user_collers = user_collers;
    }

    public List<Collect> getCollects() {
        return collects;
    }

    public void setCollects(List<Collect> collects) {
        this.collects = collects;
    }

    public User_comment getUser() {
        return user;
    }

    public void setUser(User_comment user) {
        this.user = user;
    }

    //    一个作品必须对应一个内容页面
    private Content content;

//    一个作品对应多个评论
    private List<Comment> comments;

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }


    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public Integer getProductionId() {
        return productionId;
    }

    public void setProductionId(Integer productionId) {
        this.productionId = productionId;
    }

    public String getProductionTitle() {
        return productionTitle;
    }

    public void setProductionTitle(String productionTitle) {
        this.productionTitle = productionTitle;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public Long getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }


    @Override
    public String toString() {
        return "Production{" +
                "productionId=" + productionId +
                ", productionTitle='" + productionTitle + '\'' +
                ", logoUrl='" + logoUrl + '\'' +
                ", contentId=" + contentId +
                ", type=" + type +
                ", authorId='" + authorId + '\'' +
                ", likeCount=" + likeCount +
                ", updateTime=" + updateTime +
                ", state=" + state +
                ", user=" + user +
                ", user_collers=" + user_collers +
                ", collects=" + collects +
                ", content=" + content +
                ", comments=" + comments +
                '}';
    }
}